//---------------------------------------------------------------------------

#ifndef dlgPawnToH
#define dlgPawnToH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <ImgList.hpp>

#include "EngineChess.h"
#include "RenderGDI.h"


//---------------------------------------------------------------------------
class TfrmPawnTo : public TForm
{
__published:	// IDE-managed Components
    void __fastcall FormPaint(TObject *Sender);
    void __fastcall FormMouseUp(TObject *Sender, TMouseButton Button,
          TShiftState Shift, int X, int Y);
private:	// User declarations
    TImageList*  ImageList;
    Chess::TGame m_game;
    bool         m_light;
public:
    int    FigureID;
public:		// User declarations
    __fastcall TfrmPawnTo(TComponent* Owner);
    bool Execute(GENGame& Game, TImageList* ImageList);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPawnTo *frmPawnTo;
//---------------------------------------------------------------------------
#endif
